package com.zx.mes.coolmq.hyl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * 分布式事务解决实践  启动类
 * @author hyl
 * @date 2018-3-19
 */
//@SpringBootApplication(exclude = {RabbitAutoConfiguration.class})

//@EnableAutoConfiguration(exclude = {RabbitAutoConfiguration.class})
@Configuration
@EnableAutoConfiguration(exclude={RabbitAutoConfiguration.class})
@SpringBootApplication
public class CoolmqApplication {
    public static void main(String []args){
        SpringApplication.run(CoolmqApplication.class, args);
    }
}
